[INFO] fetching crate glium_text 0.14.0...
[INFO] fixing glium_text-0.14.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate glium_text 0.14.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate glium_text 0.14.0
[INFO] finished tweaking crates.io crate glium_text 0.14.0
[INFO] tweaked toml for crates.io crate glium_text 0.14.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate glium_text 0.14.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 109 packages to latest compatible versions
[INFO] [stderr]       Adding cgmath v0.16.1 (available: v0.18.0)
[INFO] [stderr]       Adding freetype-sys v0.7.1 (available: v0.23.0)
[INFO] [stderr]       Adding glium v0.23.0 (available: v0.36.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `glium_text` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116
[INFO] running `Command { std: "docker" "start" "dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `glium_text` (manifest) generated 1 warning
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking ordered-float v1.1.1
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking xdg v2.5.2
[INFO] [stderr]    Compiling libz-sys v1.1.29
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling freetype-sys v0.7.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]    Compiling glium v0.23.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.18.1
[INFO] [stderr]     Checking glium_text v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]    Migrating examples/user_text.rs from 2015 edition to 2018
[INFO] [stderr]    Migrating examples/hello_world.rs from 2015 edition to 2018
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr] crater-edition-check: glium_text v0.14.0 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]     Checking glium_text v0.14.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `u32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:189:44
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `char::from_u32(…).unwrap()`
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 193 -                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout] 193 +                 result.push(char::from_u32_unchecked(c as u32));     // TODO: better solution?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `u32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:189:44
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `char::from_u32(…).unwrap()`
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 193 -                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout] 193 +                 result.push(char::from_u32_unchecked(c as u32));     // TODO: better solution?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking glium_text v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/hello_world.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/user_text.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.95s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr] crater-edition-check: glium_text v0.14.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking glium_text v0.14.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `u32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:189:44
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `char::from_u32(…).unwrap()`
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 193 -                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout] 193 +                 result.push(char::from_u32_unchecked(c as u32));     // TODO: better solution?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `u32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:189:44
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `char::from_u32(…).unwrap()`
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 193 -                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout] 193 +                 result.push(char::from_u32_unchecked(c as u32));     // TODO: better solution?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking glium_text v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/hello_world.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/user_text.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr] crater-edition-check: glium_text v0.14.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking glium_text v0.14.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `u32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:189:44
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `char::from_u32(…).unwrap()`
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 193 -                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout] 193 +                 result.push(char::from_u32_unchecked(c as u32));     // TODO: better solution?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `glium_text` (lib) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                         ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             if freetype::FT_New_Library(&raw mut MEMORY, &mut raw) != freetype::FT_Err_Ok {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `u32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:189:44
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut g: freetype::FT_UInt = std::mem::uninitialized();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this code causes undefined behavior when executed
[INFO] [stdout]     |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using `char::from_u32(…).unwrap()`
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 193 -                 result.push(std::mem::transmute(c as u32));     // TODO: better solution?
[INFO] [stdout] 193 +                 result.push(char::from_u32_unchecked(c as u32));     // TODO: better solution?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `glium_text` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116", kill_on_drop: false }`
[INFO] [stdout] dc385a155725aa4d54a291df7d188be66983b9a9a6e74ad2060f215718ab6116
